package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName visitor_list
 */
@TableName(value ="visitor_list")
@Data
public class VisitorList implements Serializable {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 访客姓名
     */
    @TableField(value = "visitor_name")
    private String visitorName;

    /**
     * 身份证号码
     */
    @TableField(value = "visitor_card")
    private String visitorCard;

    /**
     * 来访时间
     */
    @TableField(value = "visitor_time")
    private String visitorTime;

    /**
     * 签出时间
     */
    @TableField(value = "end_time")
    private String endTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
